/********************************************************************************
** Form generated from reading UI file 'SerialPort.ui'
**
** Created: Mon 14. May 10:15:05 2012
**      by: Qt User Interface Compiler version 4.8.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_SERIALPORT_H
#define UI_SERIALPORT_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>

QT_BEGIN_NAMESPACE

class Ui_SerialPort
{
public:
    QGridLayout *gridLayout;
    QComboBox *chooseStopBits;
    QComboBox *chooseDataBits;
    QLabel *labelPort;
    QComboBox *chooseFlowControl;
    QComboBox *chooseBaudRate;
    QLabel *labelBaudRate;
    QComboBox *choosePort;
    QLabel *labelFlowControl;
    QLabel *labelStopBits;
    QLabel *labelDataBits;
    QLabel *labelParity;
    QComboBox *chooseParity;
    QHBoxLayout *hboxLayout;
    QPushButton *connectButton;
    QPushButton *cancelButton;

    void setupUi(QDialog *SerialPort)
    {
        if (SerialPort->objectName().isEmpty())
            SerialPort->setObjectName(QString::fromUtf8("SerialPort"));
        SerialPort->resize(181, 223);
        gridLayout = new QGridLayout(SerialPort);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        chooseStopBits = new QComboBox(SerialPort);
        chooseStopBits->setObjectName(QString::fromUtf8("chooseStopBits"));

        gridLayout->addWidget(chooseStopBits, 4, 1, 1, 1);

        chooseDataBits = new QComboBox(SerialPort);
        chooseDataBits->setObjectName(QString::fromUtf8("chooseDataBits"));

        gridLayout->addWidget(chooseDataBits, 2, 1, 1, 1);

        labelPort = new QLabel(SerialPort);
        labelPort->setObjectName(QString::fromUtf8("labelPort"));

        gridLayout->addWidget(labelPort, 0, 0, 1, 1);

        chooseFlowControl = new QComboBox(SerialPort);
        chooseFlowControl->setObjectName(QString::fromUtf8("chooseFlowControl"));

        gridLayout->addWidget(chooseFlowControl, 5, 1, 1, 1);

        chooseBaudRate = new QComboBox(SerialPort);
        chooseBaudRate->setObjectName(QString::fromUtf8("chooseBaudRate"));

        gridLayout->addWidget(chooseBaudRate, 1, 1, 1, 1);

        labelBaudRate = new QLabel(SerialPort);
        labelBaudRate->setObjectName(QString::fromUtf8("labelBaudRate"));

        gridLayout->addWidget(labelBaudRate, 1, 0, 1, 1);

        choosePort = new QComboBox(SerialPort);
        choosePort->setObjectName(QString::fromUtf8("choosePort"));

        gridLayout->addWidget(choosePort, 0, 1, 1, 1);

        labelFlowControl = new QLabel(SerialPort);
        labelFlowControl->setObjectName(QString::fromUtf8("labelFlowControl"));

        gridLayout->addWidget(labelFlowControl, 5, 0, 1, 1);

        labelStopBits = new QLabel(SerialPort);
        labelStopBits->setObjectName(QString::fromUtf8("labelStopBits"));

        gridLayout->addWidget(labelStopBits, 4, 0, 1, 1);

        labelDataBits = new QLabel(SerialPort);
        labelDataBits->setObjectName(QString::fromUtf8("labelDataBits"));

        gridLayout->addWidget(labelDataBits, 2, 0, 1, 1);

        labelParity = new QLabel(SerialPort);
        labelParity->setObjectName(QString::fromUtf8("labelParity"));

        gridLayout->addWidget(labelParity, 3, 0, 1, 1);

        chooseParity = new QComboBox(SerialPort);
        chooseParity->setObjectName(QString::fromUtf8("chooseParity"));

        gridLayout->addWidget(chooseParity, 3, 1, 1, 1);

        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        connectButton = new QPushButton(SerialPort);
        connectButton->setObjectName(QString::fromUtf8("connectButton"));

        hboxLayout->addWidget(connectButton);

        cancelButton = new QPushButton(SerialPort);
        cancelButton->setObjectName(QString::fromUtf8("cancelButton"));

        hboxLayout->addWidget(cancelButton);


        gridLayout->addLayout(hboxLayout, 6, 0, 1, 2);

#ifndef QT_NO_SHORTCUT
        labelPort->setBuddy(labelPort);
        labelBaudRate->setBuddy(labelPort);
        labelFlowControl->setBuddy(labelPort);
        labelStopBits->setBuddy(labelPort);
        labelDataBits->setBuddy(labelPort);
        labelParity->setBuddy(labelPort);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(choosePort, chooseBaudRate);
        QWidget::setTabOrder(chooseBaudRate, chooseDataBits);
        QWidget::setTabOrder(chooseDataBits, chooseParity);
        QWidget::setTabOrder(chooseParity, chooseStopBits);
        QWidget::setTabOrder(chooseStopBits, chooseFlowControl);
        QWidget::setTabOrder(chooseFlowControl, connectButton);
        QWidget::setTabOrder(connectButton, cancelButton);

        retranslateUi(SerialPort);
        QObject::connect(connectButton, SIGNAL(clicked()), SerialPort, SLOT(accept()));
        QObject::connect(cancelButton, SIGNAL(clicked()), SerialPort, SLOT(reject()));

        chooseDataBits->setCurrentIndex(3);
        chooseBaudRate->setCurrentIndex(3);


        QMetaObject::connectSlotsByName(SerialPort);
    } // setupUi

    void retranslateUi(QDialog *SerialPort)
    {
        SerialPort->setWindowTitle(QApplication::translate("SerialPort", "Open Serial", 0, QApplication::UnicodeUTF8));
        chooseStopBits->clear();
        chooseStopBits->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "1", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "1.5", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "2", 0, QApplication::UnicodeUTF8)
        );
        chooseDataBits->clear();
        chooseDataBits->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "5", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "6", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "7", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "8", 0, QApplication::UnicodeUTF8)
        );
        labelPort->setText(QApplication::translate("SerialPort", "Port", 0, QApplication::UnicodeUTF8));
        chooseFlowControl->clear();
        chooseFlowControl->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "Off", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Hardware", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Xon/Xoff", 0, QApplication::UnicodeUTF8)
        );
        chooseBaudRate->clear();
        chooseBaudRate->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "9600", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "19200", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "38400", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "57600", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "115200", 0, QApplication::UnicodeUTF8)
        );
        labelBaudRate->setText(QApplication::translate("SerialPort", "Baud Rate", 0, QApplication::UnicodeUTF8));
        choosePort->clear();
        choosePort->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "COM1", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM2", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM3", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM4", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM5", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM6", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM7", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "COM8", 0, QApplication::UnicodeUTF8)
        );
        labelFlowControl->setText(QApplication::translate("SerialPort", "Flow Control", 0, QApplication::UnicodeUTF8));
        labelStopBits->setText(QApplication::translate("SerialPort", "Stop Bits", 0, QApplication::UnicodeUTF8));
        labelDataBits->setText(QApplication::translate("SerialPort", "Data Bits", 0, QApplication::UnicodeUTF8));
        labelParity->setText(QApplication::translate("SerialPort", "Parity", 0, QApplication::UnicodeUTF8));
        chooseParity->clear();
        chooseParity->insertItems(0, QStringList()
         << QApplication::translate("SerialPort", "None", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Odd", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Even", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Mark", 0, QApplication::UnicodeUTF8)
         << QApplication::translate("SerialPort", "Space", 0, QApplication::UnicodeUTF8)
        );
        connectButton->setText(QApplication::translate("SerialPort", "Connect", 0, QApplication::UnicodeUTF8));
        cancelButton->setText(QApplication::translate("SerialPort", "Cancel", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class SerialPort: public Ui_SerialPort {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_SERIALPORT_H
